package com.SmartCampus.system.model.dto.course;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 用户创建请求
 *
 * @author wangliang
 */
@Data
public class CourseAddRequest implements Serializable {

    /**
     * 课程名称
     */
    @NotNull
    @ApiModelProperty(value = "课程名称", required = true)
    private String courseName;

    /**
     * 教师ID
     */
    @NotNull
    @ApiModelProperty(value = "教师名称", required = true)
    private String teacherName;

    /**
     * 班级名称
     */
    @NotNull
    @ApiModelProperty(value = "班级名称", required = true)
    private String clazzName;

    /**
     * 学分
     */
    @NotNull
    @ApiModelProperty(value = "学分", required = true)
    private BigDecimal credit;

    /**
     * 上课地点
     */
    @NotNull
    @ApiModelProperty(value = "上课地点", required = true)
    private String location;

    /**
     * 开始时间
     */
    @NotNull
    @ApiModelProperty(value = "开始时间(小节)", required = true)
    private Integer startTime;

    /**
     * 结束时间
     */
    @NotNull
    @ApiModelProperty(value = "结束时间(小节)", required = true)
    private Integer endTime;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remarks;

    private static final long serialVersionUID = 1L;
}